package com.itheima.装饰者;

public class NewCar implements Car {
    private Car car;
    public NewCar(Car car){
        this.car = car;
    }


    @Override
    public void up() {
        System.out.println("芜湖，起飞 跑100码");
    }

    @Override
    public void stop() {
        car.stop();
    }
}
